import request from '@/utils/request'

// 通义万象
export function tongyiImage(text) {
  return request({
    url: `/tongyi/image/${text}`,
    method: 'get',
  })
}

export function tongyiTask(taskId) {
  return request({
    url: `/tongyi/image/task/${taskId}`,
    method: 'post',
  })
}
